package sctu.edu.java.year2016.team07.nieying.day20160605.chapter11_1;

/**
 * Created by Administrator on 2016/6/5 0005.
 */
public class Student{
    public void speak(int m)throws MyException{
        if(m>1000){
            throw new MyException(m);
        }

    }

}


